package eu.dominicum.ft.pd.mao;

import eu.dominicum.ft.pd.Country;
import eu.dominicum.ft.pd.Person;

import javax.inject.Named;
import javax.validation.constraints.NotNull;

/**
 * Method Arguments Object for method {@link eu.dominicum.ft.pd.ProfessionalCyclist#make(MakeProfessionalCyclistMAO)}.
 *
 * @author Harry Klerks
 * @since 2013M1
 */
@Named
public final class MakeProfessionalCyclistMAO {

    /**
     * Nationality.
     */
    @NotNull(message = "Nationaliteit moet een waarde hebben")
    private Country nationality;

    /**
     * Person.
     */
    @NotNull(message = "Persoon moet een waarde hebben")
    private Person person;

    /**
     * Country ID.
     */
    private Long countryId;

    /**
     * Person ID.
     */
    private Long personId;

    /**
     * .
     *
     * @return Country
     */
    public Country getNationality() {
        return nationality;
    }

    /**
     * .
     *
     * @param newNationality -
     */
    public void setNationality(final Country newNationality) {
        this.nationality = newNationality;
    }

    /**
     * .
     *
     * @return Person
     */
    public Person getPerson() {
        return person;
    }

    /**
     * .
     *
     * @param newPerson -
     */
    public void setPerson(final Person newPerson) {
        this.person = newPerson;
    }

    /**
     * .
     *
     * @return Long
     */
    public Long getCountryId() {
        return countryId;
    }

    /**
     * .
     *
     * @param newCountryId -
     */
    public void setCountryId(final Long newCountryId) {
        this.countryId = newCountryId;
    }

    /**
     * .
     *
     * @return Long
     */
    public Long getPersonId() {
        return personId;
    }

    /**
     * .
     *
     * @param newPersonId -
     */
    public void setPersonId(final Long newPersonId) {
        this.personId = newPersonId;
    }
}
